#!/bin/sh
mount -o rw,remount / ;
cd /tmp ;
mv /var/usr/lib/luna/java/ImagePREsizerEngine.jar /usr/lib/luna/java/ImagePREsizerEngine.jar ;
mv /var/usr/share/dbus-1/system-services/com.tippix.imagepresizer.service /usr/share/dbus-1/system-services/com.tippix.imagepresizer.service ;
mv /var/etc/event.d/com.tippix.imagepresizerservice /etc/event.d/com.tippix.imagepresizerservice ;
/sbin/initctl stop java-serviceboot ;
/sbin/initctl start java-serviceboot ;
sleep 5 ;
/usr/bin/luna-send -n 1 palm://com.palm.applicationManager/rescan {} ;
exit 0 ;
